YTurboAdminNotices\AdminNotice B

Total Complexity 90
Dependencies 3
Dependents 3
Total lines 587
Lines of code 349
Logical lines of code 174
Comment lines 131
Methods 39
Properties 10

Methods 39

Method Rating Maintainability Complexity Lines of code
isUnhandledAjaxAction()
A
54 8 19
isDismissed()
S
55 7 19
maybeOutputNotice()
S
62 6 12
undismiss()
S
59 4 15
_showDelayedNotices()
S
59 4 14
ajaxDismiss()
S
61 4 13
outputNotice()
S
52 3 26
fromJson()
S
55 3 19
cleanUpDatabase()
S
57 3 17
dismiss()
S
59 3 15
persistentlyDismissible()
S
59 3 14
_ajaxAddDismissalHandler()
S
60 3 12
formatTagAttributes()
S
64 3 9
tryUnserializeNotice()
S
63 3 10
getCurrentScreenId()
S
65 3 10
showOnNextPage()
S
63 2 12
enqueueScriptOnce()
S
64 2 11
toJson()
S
58 1 16
getKey()
S
71 2 6
show()
S
67 2 8
setTypeAndMessage()
S
69 2 7
addClass()
S
68 2 7
getDismissActionName()
S
80 1 3
getDismissOptionName()
S
80 1 3
__construct()
S
81 1 3
create()
S
80 1 3
requiredCap()
S
77 1 4
onPage()
S
75 1 4
dismissible()
S
77 1 4
error()
S
79 1 3
warning()
S
79 1 3
info()
S
79 1 3
success()
S
79 1 3
type()
S
77 1 4
getHtmlContent()
S
82 1 3
rawHtml()
S
77 1 4
html()
S
75 1 4
text()
S
75 1 4
stringStartsWith()
S
77 1 3